<template>
	<view>
		<view class="record" v-for="(item,index) in list" :key="index">
			<view class="c1">
				<text class="c1-money">充值金额</text>
				<text class="c1-detail">{{item.money}}</text>
			</view>
			<view class="c2">
				<text class="c2-time">充值时间</text>
				<text class="c2-detail">{{item.time}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				list:[
					{
						money:'1000.00',
						time:'2021-06-13 18:00:00'
					},
					{
						money:'1000.00',
						time:'2021-06-13 18:00:00'
					},
					{
						money:'1000.00',
						time:'2021-06-13 18:00:00'
					},{
						money:'1000.00',
						time:'2021-06-13 18:00:00'
					}
				]
			}
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.record {
		width: 90%;
		margin: 5%;
		height: 146rpx;
		background-color: #FFFFFF;
		border-radius: 10rpx;
	}
	
	.c1 {
		display: flex;
		justify-content: space-between;
	}
	
	.c1 .c1-money {
		margin-top: 20rpx;
		margin-left: 20rpx;
	}
	
	.c1 .c1-detail {
		margin-top: 20rpx;
		margin-right: 20rpx;
	}
	
	.c2 {
		display: flex;
		justify-content: space-between;
	}
	
	.c2 .c2-time {
		margin-top: 20rpx;
		margin-left: 20rpx;
	}
	
	.c2 .c2-detail {
		margin-top: 20rpx;
		margin-right: 20rpx;
	}
</style>
